/* 旧版本兼容代码 */
var oNewVer = {};
//$.getBathPath=$.getBasePath;// 修改笔误

oNewVer.initCarousel = $.fn.initCarousel;
$.fn.initCarousel = function(opts){
    // 兼容 v1.0.0
    var fItemCb = opts.fItemCb;
    if(fItemCb && !opts.afterGoto){
        opts.afterGoto = function(newIdx, oldIdx){
            fItemCb(newIdx);
        }
    }
    return oNewVer.initCarousel.call(this, opts);
};

$.pureClone = $.dataFormat.pureClone;